package com.iot.core.manager.htcls;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.lang.reflect.Field;

@Data
@Schema(name="HtClsColDto",description = "")
public class HtClsColDto {
    @Schema(name="字段名",description = "" )
    private  String ename="";

    @Schema(name="字段中文名",description = "")
    private  String name="";

    @Schema(name="字段备注",description = "")
    private  String memo="";

    @Schema(name="字段类型",description = "")
    private  String lx="";

    @Schema(name="是否List",description = "")
    private  boolean list;

    @Schema(name="是否可空",description = "")
    private  boolean nullable;

    @Schema(name="是否字符",description = "")
    private  boolean str;

    @Schema(name="是否日期",description = "")
    private  boolean date;

    @Schema(name="是否日期",description = "")
    private  boolean num;

    @Schema(name="是否必须",description = "")
    private  boolean required;

    @Schema(name="正则表达式验证",description = "")
    private  String regex="";

    @Schema(name="VMin",description = "")
    private  String vmin="";

    @Schema(name="VMax",description = "")
    private  String vmax="";

    @JsonIgnore
    private Field  field;

}
